package com.zlz.open.ugs.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@MapperScan("com.zlz.open.dict.dao")
@ComponentScan({"com.zlz.open.ugs", "com.zlz.open.dict"})
public class UniversalGatewayConfigApplication {

	public static void main(String[] args) {
		SpringApplication.run(UniversalGatewayConfigApplication.class, args);
	}

}

